Release 10.1A: OpenEdge Development:
Programming Interfaces
VALUE attribute
The
VALUEattribute provides access to the system clipboard data. Set the attribute to the value of a field or variable you want to cut or copy to the clipboard. To cut, set the source data item to the Unknown value (?) or the null string ("") after you set the attribute. Assign the value of the attribute to a field or variable to which you want to paste data from the clipboard. If there is no data in the clipboard or you read the last item in a multiple read, the attribute returns the Unknown value (?) to the data item.A single-item write to this attribute immediately replaces all previous data in the clipboard. A multiple-item write to this attribute appends the data item to a buffered list of items. Once you set the
MULTIPLEattribute toFALSE, theCLIPBOARDhandle formats the list according to the value ofITEMS-PER-ROWand replaces all previous clipboard data with it. (Note that in Windows, the clipboard can store a maximum of 64K of data). Both single-item and multiple-item reads are nondestructive to data in the clipboard.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |